﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.StatusModel
{
    /// <summary>
    /// 结算表
    /// </summary>
    [Table("SettlementModel")]
    public class SettlementModel
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int ID { get; set; }
        /// <summary>
        /// 营业项目
        /// </summary>
        public int Business { get; set; }
        /// <summary>
        /// 结算时间
        /// </summary>
        public DateTime SettlementTime { get; set; }
        /// <summary>
        /// 消费金额
        /// </summary>
        public int Consumption { get; set; }
        /// <summary>
        /// 支付金额
        /// </summary>
        public int Payment { get; set; }
        /// <summary>
        /// 摘要
        /// </summary>
        public string?Astract { get; set; }
        /// <summary>
        /// 账户状态
        /// </summary>
        public OrderState AccountStatus { get; set; }
        /// <summary>
        /// 操作员
        /// </summary>
        public string?Operator { get; set; }
        /// <summary>
        /// 订单id
        /// </summary>
        public int orderId { get; set; }
    }
}
